package com.lys.emsystem.vo;


import com.lys.emsystem.entity.School;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class SchoolVo {
    private int id;

    private String no;

    private String name;

    private boolean status;

    private int pageIndex;

    private int pageSize;

    private int totalCount;

    private List<School> schools;

    private int[] schoolIds;



    public String getNo() {
        return no = "".equals(no) || no == null ? null : no;
    }

    public String getName() {
        return name = "".equals(name) || name == null ? null : name;
    }
}
